package com.chinaunicom.club.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.chinaunicom.club.model.Activity;

public interface ActivityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Activity record);

    int insertSelective(Activity record);

    Activity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Activity record);

    int updateByPrimaryKey(Activity record);

	List<Activity> queryAll(Activity activity);

	List<Activity> pageQueryAll(@Param(value="start")int start,@Param(value="end")int end);

	int count(Integer id);
}